{include file="public/header" /}
<style>
    .layui-form-label{ width: 15%;}
    .layui-input-inline{width: 70% !important; margin-left: 2%;}
</style>
<body>
<div class="x-body">
    <form action="{:url('saveSeckill')}" class="layui-form" id="form">
        <input type="hidden" name="id" value="{$info?$info.id:''}"/>
        
        <div class="layui-form-item">
            <label class="layui-form-label">活动标题</label>
            <div class="layui-input-inline">
                <input type="text" name="title" lay-verify="required" lay-reqtext="请填写活动标题"
                placeholder="请填写活动标题" class="layui-input" value="{$info?$info.title:''}"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">秒杀活动时间</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input config_laydate" lay-verify="required" data-format-1="datetime" data-format-2="2" name="date_value" value="{$info?$info.date_value:''}" >
            </div>
        </div>
        <div class="layui-form-item" style="text-align: center;">
            <button class="layui-btn" lay-filter="save" lay-submit formObj="#form">保存</button>
        </div>
    </form>
</div>
</body>
{include file="public/footer" /}
</html>